/** Unit test program to test the EventProcessor and Messaging capablities */


#define MAX 120
 
#include <unistd.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>

#include "Filter.h"
#include "Sieve.h"
#include "DistributedCounter.h"
#include "TwoWayList.cc"

int main(void){
	
  Filter filter;
  filter.ForkAndSpin(); 

  Sieve sieve(MAX,filter);
  sieve.ForkAndSpin();

  sieve.WaitForProcessorDeath(); 

	
  return 0;
}
